package com.example.rentalcar.entity;

import com.baomidou.mybatisplus.annotation.TableName;

@TableName("users")
public class Users {

    /** 用户id */
    private Long userId;

    /** 用户姓名 */
    private String userName;

    /** 用户电话 */
    private String userPhone;

    /** 用户性别 */
    private String userSex;

    /** 用户密码 */
    private String userPassword;

    /** 用户身份证 */
    private String userIdcard1;

    /** 用户驾驶证 */
    private String userDriveCard1;

    /** 用户认证 */
    private Integer userStu;

    /** Additional fields */
    private String userIdcard2;
    private String userDriveCard2;

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserIdcard1(String userIdcard1) {
        this.userIdcard1 = userIdcard1;
    }

    public String getUserIdcard1() {
        return userIdcard1;
    }

    public void setUserDriveCard1(String userDriveCard1) {
        this.userDriveCard1 = userDriveCard1;
    }

    public String getUserDriveCard1() {
        return userDriveCard1;
    }

    public void setUserStu(Integer userStu) {
        this.userStu = userStu;
    }

    public Integer getUserStu() {
        return userStu;
    }

    public String getUserIdcard2() {
        return userIdcard2;
    }

    public void setUserIdcard2(String userIdcard2) {
        this.userIdcard2 = userIdcard2;
    }

    public String getUserDriveCard2() {
        return userDriveCard2;
    }

    public void setUserDriveCard2(String userDriveCard2) {
        this.userDriveCard2 = userDriveCard2;
    }

    @Override
    public String toString() {
        return "Users{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", userSex='" + userSex + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userIdcard1='" + userIdcard1 + '\'' +
                ", userDriveCard1='" + userDriveCard1 + '\'' +
                ", userStu=" + userStu +
                ", userIdcard2='" + userIdcard2 + '\'' +
                ", userDriveCard2='" + userDriveCard2 + '\'' +
                '}';
    }

    public Users() {
    }
}
